import 'package:flutter/material.dart';
import 'package:flutter_syt/datas/index_setting.dart';

class ProviderIndexSetting extends ChangeNotifier {
  bool isLoad = false;
  static IndexSetting _indexSetting = IndexSetting(
      volunteerContribution: 0,
      gameSchedule: 0,
      shop: 0,
      integral: 0,
      activity: 0,
      signIn: 0,
      feedBack: 0,
      authentication: 0,
      globalPause: 0,
      globalStop: 0,
      opManual: 0,
      opVideo: 0,
      scan: 0,
      customerHotline: 0,
      reserveCustomerHotline: 0,
      emailFeedback: 0);
  set indexSetting(IndexSetting setting) {
    isLoad = true;
    _indexSetting = setting;
    super.notifyListeners();
  }

  IndexSetting get indexSetting => _indexSetting;
}
